package com.seven.smartsnmp.tk;

import com.seven.smartsnmp.base.MyException;
import com.seven.smartsnmp.snmp.SNMPFactory;

public class GenJavaCode {


    public static void main(String[] args) throws MyException {
        SNMPFactory.loadMib("C:\\Users\\lvbin\\Desktop\\mibs\\android.mib");
        String srcCodeDirectory = "D:\\mibcode\\";
        String packageName = "com.seven.smartsnmp.mib";
        GenJavaCodeTool.setJavaCodeDirectory(srcCodeDirectory, packageName);
        try {
            GenJavaCodeTool.genJavaCode("SrvcEntry", ".1.3.6.1.4.1.12619.1.2.2.1");
        } catch (Exception var4) {
            var4.printStackTrace();
        }

    }
    }


